<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="menu" content="superviseMenu" />
<meta name="nav" content="2" />
<meta name="acc" content="0" />
<title>竣工检测报告</title>
<script type="text/javascript">
	$(document).ready(function() {
		$("#checkDate").addClass("Wate").bind("focus", function() {
			WdatePicker({
				skin : 'whyGreen',
				maxDate : '%y-%M-%d',
				dateFmt : 'yyyy-MM-dd'
			});
		});
	});
</script>
</head>
<body>
	<center>
		<h2>工程竣工质量鉴定报告</h2>
	</center>
	<form action="${ctx }/business/comp/expertise.action" method="post" id="inputForm"
		class="yform" enctype="multipart/form-data">
		<input type="hidden" name="id" id="id" value="${id }">
		<div>
			<table class="noborder">
				<tr class="type-text">
					<td>项目名称</td>
					<td>${projectModel.projName }</td>
				</tr>
				<tr class="type-text">
					<td>收文单位</td>
					<td>${orgName }</td>
				</tr>
				<tr class="type-text">
					<td>报告出具时间</td>
					<td><fmt:formatDate value="${reportDate }"
							pattern="yyyy-MM-dd" /></td>
				</tr>
				<tr class="type-text">
					<td>报告关键内容</td>
					<td>${content }</td>
				</tr>
				<tr class="type-text">
					<td>备注</td>
					<td>${remark }</td>
				</tr>
			</table>
			<c:if test="${not empty attachments }">
				<div id="caption">
					<h6>${licenseplateNumber}已有附件</h6>
				</div>
				<table>
					<c:forEach items="${attachments }" var="attachment"
						varStatus="state">
						<tr id="tr${state.index }">
							<td colspan="4"><a title="下载"
								href="${ctx}/servlet/annex?id=${attachment.id}">${attachment.upfileFileName}(${attachment.type})<fmt:formatDate
										value="${attachment.fileTime}" pattern="yyyy-MM-dd" /> </a></td>
						</tr>
					</c:forEach>
				</table>
			</c:if>
		</div>
		<div class="type-button">
			<input   type="submit" class="submit" value="下一步" />&nbsp;
			<input   type="button" value="返回" class="reset"
				onclick="history.back()" />
		</div>
	</form>
</body>
</html>